home *** CD-ROM | disk | FTP | other *** search
Wrap
card_3055.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>3055</id> <filler1>0</filler1> <bitmap>BMAP_3273.pbm</bitmap> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>2661</owner> <link rel="stylesheet" type="text/css" href="stylesheet_2363.css" /> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>69</left> <top>68</top> <right>434</right> <bottom>252</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name></name> <script></script> </part> <part> <id>22</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>0</left> <top>326</top> <right>18</right> <bottom>342</bottom> </rect> <style>checkbox</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name></name> <script></script> </part> <part> <id>25</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>209</left> <top>278</top> <right>335</right> <bottom>318</bottom> </rect> <style>roundrect</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>FindFolder</name> <script>on mouseUpput "A,C,D,E,P,M,N,T,I,S,Y" into ParamListrepeat with i=1 to number of items of ParamListput quote & item i of ParamList & quote & " : " &¬FindFolder(item i of ParamList) & return after Tempend repeatput Temp into cd fld 2show cd fld 2end mouseUp</script> </part> <part> <id>26</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>56</left> <top>88</top> <right>440</right> <bottom>231</bottom> </rect> <style>shadow</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Monaco</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name></name> <script>on mouseUphide meend mouseUP</script> </part> <content> <layer>card</layer> <id>1</id> <text><span class="style1"> </span><span class="style2">FindFolder 1.1</span><span class="style1"> </span><span class="style3">by Frédéric RINALDI</span><span class="style1"></span><span class="style4">DESCRIPTION</span><span class="style1"> FindFolder returns the full pathname of the active System folder or any of its reserved folders (System 7.0).</span><span class="style4">SYNTAX</span><span class="style1"> FindFolder([<folder descriptor>[,<create it>]])</span><span class="style4">PARAMETERS</span><span class="style1"> </span><span class="style2"><folder descriptor></span><span class="style1"> is a string describing the folder. It must be one of these values (only first char is checked) : </span><span class="style2">A</span><span class="style1">[pple menu] </span><span class="style2">C</span><span class="style1">[ontrol Panel] </span><span class="style2">D</span><span class="style1">[esktop] </span><span class="style2">E</span><span class="style1">[xtensions] </span><span class="style2">F</span><span class="style1">[onts] (System 7.1 only) </span><span class="style2">P</span><span class="style1">[references] </span><span class="style2">M</span><span class="style1">[onitor printing] </span><span class="style2">N</span><span class="style1">[etwork trash] </span><span class="style2">T</span><span class="style1">[rash] </span><span class="style2">I</span><span class="style1">[tems startup] </span><span class="style2">S</span><span class="style1">[ystem] </span><span class="style2">Y</span><span class="style1"> : TemporarY items Default value is "S". </span><span class="style2"><create it></span><span class="style1"> is a boolean telling if the XFCN must create the folder if not found (only with System 7.0). Default is FALSE. Both parameters are optional. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).</span><span class="style4">USING</span><span class="style1"> The XFCN returns the full pathname of the requested folder, ending with colon. Under System 6.0, only current System folder can be returned.</span><span class="style4">ERRORS</span><span class="style1"> If an error occurs, the XFCN can return : "Error : Empty parameter" "Error : Second param must be boolean" "Error : Folder not found" "Error : Found file instead of folder"</span><span class="style4">HISTORY</span><span class="style1"></span><span class="style2">1.1</span><span class="style1"> </span><span class="style2">04/21/92</span><span class="style1">• Added "font" param for System 7.1 --------------------------------------------------------------------</span><span class="style5"> All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :</span><span class="style1"></span><span class="style3"> FindFolder XFCN, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:</span><span class="style1"></span><span class="style6">AppleLink</span><span class="style3">: RINALDI1 </span><span class="style6">CalvaCom</span><span class="style3"> : FR10 </span><span class="style6">Compuserve</span><span class="style3"> : 71170,2111</span><span class="style6"> Internet</span><span class="style3"> : RINALDI1@APPLELINK.APPLE.COM</span></text> </content> <content> <layer>card</layer> <id>26</id> <text>"A" : HD160INT:System Folder:Apple Menu Items:"C" : HD160INT:System Folder:Control Panels:"D" : HD160INT:Desktop Folder:"E" : HD160INT:System Folder:Extensions:"P" : HD160INT:System Folder:Preferences:"M" : HD160INT:System Folder:PrintMonitor Documents:"N" : HD160INT:Trash:"T" : HD160INT:Trash:"I" : HD160INT:System Folder:Startup Items:"S" : HD160INT:System Folder:"Y" : HD160INT:Temporary Items:</text> </content> <name></name> <script></script> </card>